<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="language" content="en" />

    <!-- blueprint CSS framework -->
    <!--<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" /> -->
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/style.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/style-responsive.css" />

    <?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
    <?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl.'/js/bootstrap.min.js', CClientScript::POS_HEAD); ?>
   
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>
<div class="container-fluid" id="page">
    <div class="row-fluid" id="page">

        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="navbar-inner">
                <div id="logo">
                    <!--<img src="<?php echo Yii::app()->theme->baseUrl; ?>/img/yii-white.png"/>-->
                </div>
                <?php $this->widget('UserMenuWidget',
                    array('cssFile'=>'usermenu.css'))?>
            </div>

    </div><!--row fluid-->
    <?php if(isset($this->breadcrumbs)):?>
        <?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
			'htmlOptions'=>array('class'=>'breadcrumb','style'=>'color:#999'),
			'separator'=>' / '
		)); ?><!-- breadcrumbs -->
    <?php endif?>
        <div class="span2 main-menu-span">
<div id="main-section">

    <div id="sidebar">

        <?php $this->widget('zii.widgets.CMenu',array(

            'encodeLabel'=>false,
            'items'=>$this->menu,
            'htmlOptions' => array('id'=>'nav', 'class'=>'nav nav-tabs nav-stacked main-menu'),
          //  'linkLabelWrapper'=>'div class=dropdown'
        )); ?>

    </div><!-- sidebar -->
   </div><!-- span2 main-menu-span -->
<div id="content" class=""span10>
    <?php echo $content; ?>
</div>
</div><!--main-section-->
    <div class="clear"></div>

    <footer>
        Copyright &copy; <?php echo date('Y'); ?> by <?php echo Yii::app()->params['Brand']?>.<br/>
        <?php echo Yii::t('UserModule.base','All Rights Reserved.')?><br/>
        <?php echo Yii::powered(); ?>
    </footer><!-- footer -->

</div><!-- page -->
</body>
</html>